body {
    background-color: #f3f5f7;
}

/* 版心wrapper */
.wrapper {
    margin: 0 auto;
    width: 1200px;
}

/* 通栏 */
.tl {
    height: 100px;
}

/* 头部 */
.header {
    padding-top: 29px;
    display: flex;
}

/* logo */
.header .logo a {
    display: block;
    background-image: url(../images/logo.png);
    width: 195px;
    height: 41px;
    font-size: 0;
}

/* 导航 */
.nav {
    margin-left: 70px;
}

.nav ul {
    display: flex;
}

.nav li a {
    margin-right: 27px;
    padding: 6px 8px;
    display: block;
    line-height: 27px;
    font-size: 18px;
}

.nav li .active,
.nav li a:hover {
    border-bottom: 2px solid #00a4ff;
}

/* 搜索 */
.tl .search {
    width: 412px;
    height: 41px;
    border: solid 1px #00a4ff;
    margin-left: 94px;
    padding-left: 21px;
    display: flex;
}

.tl .search .searchInput {
    border: 0px solid #333;
    font-size: 14px;
    flex: 1;
    background-color: transparent;
    outline: none;
}

.tl .search a {
    width: 51px;
    height: 41px;
    background-image: url(../images/btn.png);
    /* 侧轴居中 */
    align-self: center;
}

.tl .user {
    margin-top: 4px;
    margin-left: 31px;
}

.tl .user a {
    display: flex;
}

.tl .user img {
    margin-right: 6px;
}

.tl .user span {
    color: #666;
    font-size: 14px;
    align-self: center;
}

/* banner */
.banner {
    height: 420px;
    background-color: #1c036c;
}

.banner .wrapper {
    height: 420px;
    background-image: url(../images/banner2.png);
    display: flex;
    justify-content: space-between;
}

.banner .wrapper ul {
    width: 190px;
    height: 420px;
    padding-left: 20px;
    padding-right: 21px;
    background-color: rgba(0, 0, 0, 0.42);
}

.banner .wrapper a {
    display: block;
    color: #fff;
    height: 46px;
    line-height: 46px;
    font-size: 14px;
    background: url(../images/more.png) no-repeat right center;
}

.banner .wrapper ul a:hover,
.banner .wrapper ul .active {
    display: block;
    color: #00b4ff;
    font-size: 14px;
    background: url(../images/right-hover.png) no-repeat right center;
}

/* wrapper右侧 */
.banner .wrapper .right {
    margin-top: 50px;
    width: 228px;
    height: 300px;

}

.banner .wrapper .right h3 {
    font-family: MicrosoftYaHei-Bold;
    display: block;
    height: 48px;
    line-height: 48px;
    font-size: 18px;
    color: #fff;
    background-color: #9bceea;
    text-align: center;
}

.banner .wrapper .right .content {
    background-color: #fff;
    padding: 7px 14px 11px;
    height: 252px;
}

.banner .wrapper .right .content dl {
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 14px;
    margin-top: 10px;
}

.banner .wrapper .right .content dl dt {
    font-size: 14px;
    color: #4e4e4e;
    font-weight: bold;
}

.banner .wrapper .right .content dl dd {
    font-size: 12px;
    color: #a5a5a5;
}

.banner .wrapper .right .content button {
    margin-top: 6px;
    width: 200px;
    height: 41px;
    border: solid 1px #00a4ff;
    background-color: transparent;
    font-family: MicrosoftYaHei;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    letter-spacing: 2px;
    color: #00a4ff;
}

.recommend {
    background-color: #fff;
    margin-top: 8px;
    padding-top: 21px;
    padding-left: 34px;
    padding-right: 26px;
    font-size: 16px;
    display: flex;
    height: 60px;
    box-shadow: 0px 2px 3px 0px rgba(118, 118, 118, 0.2);
}

.recommend h3 {
    color: #00a4ff;
    font-weight: bold;
}

.recommend ul {
    margin-left: 34px;
    display: flex;
    /* 除去精品推荐 和 修改兴趣 宽度 剩余宽度都给ul */
    flex: 1;
}

.recommend ul li a {
    display: block;
    color: #050505;
    border-left: 1px solid #bfbfbf;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 18px;
}

/* .recommend ul li:first-child a {
    border-left: 0px solid #bfbfbf;
} */

.recommend .modify a {
    color: #00a4ff;
    font-size: 14px;
    font-weight: bold;
}

/* 课程 */
.course {
    margin-top: 15px;
}

.hd {
    height: 60px;
    line-height: 60px;
    display: flex;
    justify-content: space-between;
}

.hd h3 {
    color: #494949;
    font-size: 20px;
    font-weight: normal;
}

.hd .more {
    color: #a5a5a5;
    font-size: 12px;
    font-size: 12px;
    padding-right: 35px;
    background: url(../images/more.png) no-repeat right center;
}

.bd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.bd ul li {
    height: 270px;
    width: 228px;
    margin-bottom: 15px;
}

.bd ul li .pic {
    height: 155px;
}

.bd ul li .text {
    height: 115px;
    background-color: #fff;
    padding-top: 25px;
    padding-bottom: 15px;
    padding-left: 24px;
    padding-right: 25px;
    flex-direction:column;
    display: flex;
    justify-content: space-between;
}

.bd ul li .text h4 {
    font-size: 14px;
    color: #050505;
    font-weight: normal;
}

.bd ul li .text p {
    margin-top: 20px;
    color: #777777;
    font-size: 12px;
}

.bd ul li .text p span {
    color: #ff7c2d;
    font-size: 12px;
    margin-right: 9px;
}

.bd ul li .text p i {
    margin-left: 9px;
}

/* 编程入门 */
.lever {
    text-align: center;
}

.lever ul {
    display: flex;
}

.lever ul li {
    margin-right: 70px;
}

.lever ul li a {
    color: #868686;
    font-size: 16px;
}

.lever ul li .active {
    color: #00a4ff;
}

.lever ul li a:hover {
    color: #00a4ff;
}

.program {
    margin-top: 15px;
}

.program .content {
    height: 392px;
    display: flex;
}

.program .content .left {
    height: 392px;
    width: 228px;
    margin-right: 15px;
}

.program .content .right .top {
    height: 100px;
    width: 957px;
}

.program .content .right .bottom {
    margin-top: 20px;
}

.computer {
    margin-top: 15px;
}

/* 底部 */
.footer {
    margin-top: 25px;
    background-color: #fff;
}

.footer .wrapper {
    height: 417px;
    padding-top: 33px;
    padding-left: 21px;
    padding-right: 30px;
    display: flex;
}

.footer .wrapper .left {
    width: 426px;
    margin-right: 73px;
}

.footer .wrapper .left p {
    margin-top: 25px;
    margin-bottom: 15px;
    font-family: SimSun;
    font-size: 12px;
    color: #666666;
}

.footer .wrapper .left a {
    display: block;
    border: 1px solid #00a4ff;
    background: transparent;
    color: #00a4ff;
    font-size: 16px;
    width: 120px;
    height: 36px;
    line-height: 36px;
    text-align: center;
}

.footer .wrapper dl {
    margin-left: 136px;
}

.footer .wrapper dl dt {
    margin-bottom: 15px;
    font-family: MicrosoftYaHei;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 21px;
    letter-spacing: 0px;
    color: #333333;
}

.footer .wrapper dl dd {
    font-family: SimSun;
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 21px;
    letter-spacing: 0px;
    color: #333333;
}